Automatic crash detection

ABSTRACT

Systems and methods are disclosed for determining whether or not a crash involving a vehicle has occurred. The acceleration of the vehicle may be measured using, for example, an accelerometer of a mobile device, which may be located inside the vehicle. The system may determine the magnitude of each accelerometer measurement and whether the magnitude exceeds one or more acceleration magnitude thresholds. The system may also determine the number of accelerometer events within a time window and whether the number exceeds one or more count thresholds. The system may determine whether a crash involving the vehicle has occurred based on the magnitudes of acceleration, number of acceleration events, and various thresholds. In some examples, the system may confirm that a crash has occurred based on, for example, the location of the mobile device.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a divisional of pending U.S. patent application Ser. No. 14/685,067, filed Apr. 13, 2015 and entitled “Automatic Crash Detection.” The prior application is incorporated herein by reference in its entirety.

TECHNICAL FIELD

Aspects of the disclosure generally relate to the detection of vehicle crashes using sensors and computing devices, which may be integrated into mobile devices.

BACKGROUND

Typically, drivers of vehicles involved in crashes (or in some cases, emergency personnel) report crashes to insurance providers days or even weeks after the crash. The delay in reporting crashes often results in a delay in processing insurance claims. The information that the driver gives to his or her insurance provider after the fact might also be incomplete or vague. For example, the driver might have forgotten the location of the accident.

SUMMARY

The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosure. The summary is not an extensive overview of the disclosure. It is neither intended to identify key or critical elements of the disclosure nor to delineate the scope of the disclosure. The following summary merely presents some concepts of the disclosure in a simplified form as a prelude to the description below.

Aspects of the disclosure relate to systems, methods, and computing devices, such as a mobile computing device comprising an accelerometer configured to measure acceleration of at least one axis of the accelerometer, a processor, and memory storing computer-executable instructions that, when executed by the processor, cause the processor of the mobile computing device to receive acceleration events measured by the accelerometer and determine whether a number of the acceleration events measured by the accelerometer exceeds a threshold number of acceleration events during a predetermined time window. If the number of the acceleration events measured by the accelerometer exceeds the threshold number of acceleration events, a determination that the mobile computing device is within a vehicle and that the vehicle was involved in a crash may be made. On the other hand, if the number of acceleration events measured by the accelerometer does not exceed the threshold number of acceleration events, a determination that the vehicle was not involved in a crash may be made.

The mobile computing device described herein may have memory storing additional computer-executable instructions that, when executed by the processor of the mobile computing device, cause the process of the mobile computing device to determine whether each of the acceleration events exceeding the threshold number of acceleration events has a magnitude exceeding an acceleration magnitude threshold. Determining that the vehicle was involved in the crash may comprise determining that the vehicle was involved in the crash if the number of acceleration events measured by the accelerometer exceeds the threshold number of acceleration events, and each of the acceleration events exceeding the threshold number of acceleration events has a magnitude exceeding the acceleration magnitude threshold.

In some aspects, the acceleration events may comprise acceleration events having a magnitude exceeding an acceleration magnitude threshold. The accelerometer may comprise three axes, and the magnitude may comprise at least one of a sum of the absolute values of each of the three axes of the accelerometer, a sum of the squares of each of the three axes of the accelerometer, and a magnitude of a single axis of the accelerometer. Additionally or alternatively, the acceleration magnitude threshold may comprise a plurality of acceleration magnitude thresholds, and the memory of the mobile computing device may store additional computer-executable instructions that, when executed by the processor, cause the processor of the mobile computing device to determine a severity of the crash based on whether one or more of the plurality of acceleration magnitude thresholds has been exceeded and responsive to determining that the vehicle was involved in the crash.

The time window disclosed herein may comprise a number of acceleration samples measured periodically by the accelerometer. Additionally or alternatively, the time window may comprise a time value greater than 5 milliseconds.

In some aspects, the mobile computing device may further comprise communication circuitry configured to wirelessly communicate with other devices. The memory of the mobile computing device may store additional computer-executable instructions that, when executed by the processor, cause the processor of the mobile computing device to send, via the communication circuitry and to a crash detection server, a message comprising information identifying an owner of the mobile computing device, information identifying the mobile computing device, and information identifying a location of the mobile computing device. The message may be sent responsive to a determination that the vehicle was involved in the crash. The mobile computing device may comprise a mobile phone, and the memory of the mobile phone may store additional computer-executable instructions that, when executed by the processor, cause the processor of the mobile phone to receive, via the communication circuitry, a phone call. The phone call my be received responsive to the message being sent to the crash detection server.

Aspects of the disclosure relate to systems and methods for identifying, by a mobile computing device, a time window, an acceleration magnitude threshold, and a number of acceleration events threshold. The system and method may include a determination of a number of acceleration events measured by an accelerometer of the mobile computing device exceeding the acceleration magnitude threshold during the time window. The system and method may also include a determination that a the mobile computing device is within a vehicle and that the vehicle was involved in a crash responsive to determining that the number of acceleration events measured by the accelerometer of the mobile computing device exceeding the acceleration magnitude threshold also exceeds the number of acceleration events threshold.

The systems and methods disclosed herein may include a determination of a location of the mobile computing device and a confirmation that the crash occurred based on the location of the mobile computing device. Moreover, the mobile computing device may identify a second acceleration magnitude threshold greater than the acceleration magnitude threshold. A determination of a second number of acceleration events measured by the accelerometer of the mobile computing device exceeding both the acceleration magnitude threshold and the second acceleration magnitude threshold may be made. The severity of the crash may be determined based on the number of acceleration events exceeding the acceleration magnitude threshold and the second number of acceleration events exceeding both the acceleration magnitude threshold and the second acceleration magnitude threshold.

Other features and advantages of the disclosure will be apparent from the additional description provided herein.

BRIEF DESCRIPTION OF THE DRAWINGS

A more complete understanding of the present invention and the advantages thereof may be acquired by referring to the following description in consideration of the accompanying drawings, in which like reference numbers indicate like features, and wherein:

FIG. 1 illustrates a network environment and computing systems that may be used to implement aspects of the disclosure.

FIG. 2 is a diagram illustrating various example components of a crash detection system according to one or more aspects of the disclosure.

FIG. 3 is a flow diagram illustrating an example method of initializing a crash detection system according to one or more aspects of the disclosure.

FIG. 4 is a flow diagram illustrating an example method of detecting a crash according to one or more aspects of the disclosure.

DETAILED DESCRIPTION

In the following description of the various embodiments, reference is made to the accompanying drawings, which form a part hereof, and in which is shown by way of illustration, various embodiments of the disclosure that may be practiced. It is to be understood that other embodiments may be utilized.

As will be appreciated by one of skill in the art upon reading the following disclosure, various aspects described herein may be embodied as a method, a computer system, or a computer program product. Accordingly, those aspects may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. In addition, aspects may take the form of a computing device configured to perform specified actions. Furthermore, such aspects may take the form of a computer program product stored by one or more computer-readable storage media having computer-readable program code, or instructions, embodied in or on the storage media. Any suitable computer readable storage media may be utilized, including hard disks, CD-ROMs, optical storage devices, magnetic storage devices, and/or any combination thereof. In addition, various signals representing data or events as described herein may be transferred between a source and a destination in the form of electromagnetic waves traveling through signal-conducting media such as metal wires, optical fibers, and/or wireless transmission media (e.g., air and/or space).

FIG. 1 illustrates a block diagram of a computing device 101 in a crash detection system 100 that may be used according to one or more illustrative embodiments of the disclosure. The crash detection computing device 101 may have a processor 103 for controlling overall operation of the computing device 101 and its associated components, including RAM 105, ROM 107, input/output module 109, and memory unit 115. The computing device 101, along with one or more additional devices (e.g., terminals 141, 151) may correspond to any of multiple systems or devices, such as crash detection computing devices or systems, configured as described herein for transmitting and receiving sensor data, detecting a crash, and confirming that the crash (rather than a non-crash event) occurred. Sensor data can include data collected from mobile devices (e.g., the driver's mobile phone), vehicle sensors, and/or on-board diagnostic (OBD) systems.

Input/Output (I/O) module 109 may include a microphone, keypad, touch screen, and/or stylus through which a user of the computing device 101 may provide input, and may also include one or more of a speaker for providing audio input/output and a video display device for providing textual, audiovisual and/or graphical output. Software may be stored within memory unit 115 and/or other storage to provide instructions to processor 103 for enabling device 101 to perform various functions. For example, memory unit 115 may store software used by the device 101, such as an operating system 117, application programs 119, and an associated internal database 121. The memory unit 115 includes one or more of volatile and/or non-volatile computer memory to store computer-executable instructions, data, and/or other information. Processor 103 and its associated components may allow the crash detection computing device 101 to execute a series of computer-readable instructions to transmit or receive sensor data, process sensor data, and determine or confirm crash and non-crash events from the sensor data.

The crash detection computing device 101 may operate in a networked environment 100 supporting connections to one or more remote computers, such as terminals/devices 141 and 151. Crash detection computing device 101, and related terminals/devices 141 and 151, may include devices installed in vehicles, mobile devices that may travel within vehicles, or devices outside of vehicles that are configured to receive and process vehicle and other sensor data. Thus, the crash detection computing device 101 and terminals/devices 141 and 151 may each include personal computers (e.g., laptop, desktop, or tablet computers), servers (e.g., web servers, database servers), vehicle-based devices (e.g., on-board vehicle computers, short-range vehicle communication systems, sensor and telematics devices), or mobile communication devices (e.g., mobile phones, portable computing devices, and the like), and may include some or all of the elements described above with respect to the crash detection computing device 101. The network connections depicted in FIG. 1 include a local area network (LAN) 125 and a wide area network (WAN) 129, and a wireless telecommunications network 133, but may also include other networks. When used in a LAN networking environment, the crash detection computing device 101 may be connected to the LAN 125 through a network interface or adapter 123. When used in a WAN networking environment, the device 101 may include a modem 127 or other means for establishing communications over the WAN 129, such as network 131 (e.g., the Internet). When used in a wireless telecommunications network 133, the device 101 may include one or more transceivers, digital signal processors, and additional circuitry and software for communicating with wireless computing devices 141 (e.g., mobile phones, short-range vehicle communication systems, vehicle sensing and telematics devices) via one or more network devices 135 (e.g., base transceiver stations) in the wireless network 133.

It will be appreciated that the network connections shown are illustrative and other means of establishing a communications link between the computers may be used. The existence of any of various network protocols such as TCP/IP, Ethernet, FTP, HTTP and the like, and of various wireless communication technologies such as GSM, CDMA, Wi-Fi, and WiMAX, is presumed, and the various computing devices and crash detection system components described herein may be configured to communicate using any of these network protocols or technologies.

Additionally, one or more application programs 119 used by the crash detection computing device 101 may include computer executable instructions (e.g., sensor data analysis programs, crash detection algorithms, and the like) for transmitting and receiving sensor and crash data and performing other related functions as described herein.

Sensor data may refer to information pertaining to one or more actions or events performed by a vehicle and can include aspects of information identified or determined from data collected from a vehicle or mobile device. Sensor data can include, for example, location data, speed or velocity data, acceleration data, presence data, time data, direction data, mobile device orientation data, rotation/gyroscopic data, and the like.

FIG. 2 is a diagram illustrating various example components of a crash detection system 200 according to one or more aspects of the disclosure. The crash detection system 200 may include a vehicle 210, other vehicles (not illustrated), a location detection system 220, a crash detection server 250, and additional related components. Each component shown in FIG. 2 may be implemented in hardware, software, or a combination of the two. Additionally, each component of the crash detection system 200 may include a computing device (or system) having some or all of the structural components described above for computing device 101.

Vehicle 210 may be, for example, an automobile, motorcycle, scooter, bus, recreational vehicle, boat, or other vehicle for which sensor or crash data may be collected and analyzed. A mobile computing device 216 within the vehicle 210 may be used to collect sensor or crash data (e.g., via sensors 218) and/or to receive sensor or crash data from the vehicle 210 (e.g., via vehicle sensors 219). The mobile device 216 may process the data to detect a crash or non-crash event and/or transmit the sensor or crash data to the crash detection server 250 or other external computing devices. Mobile computing device 216 may be, for example, mobile phones, personal digital assistants (PDAs), tablet computers, laptop computers, smartwatches, and other devices that may be carried by drivers or passengers inside or outside of the vehicle 210. The mobile computing device 216 may contain some or all of the hardware/software components as the computing device 101 depicted in FIG. 1. Software applications executing on the mobile device 216 may be configured to receive sensor data from sensors 218, such as acceleration, velocity, location, and the like and/or communicate with vehicle sensors 219 or other vehicle communication systems to sense or receive driving data. For example, mobile device 216 equipped with Global Positioning System (GPS) functionality may determine vehicle location, speed, direction and other basic driving data without needing to communicate with vehicle sensors or external vehicle systems. In other examples, software on the mobile device 216 may be configured to receive some or all of the sensed data collected by sensors 219 of the vehicle 210.

When mobile computing device 216 within the vehicle 210 is used to sense vehicle data, the mobile computing device 216 may store, analyze, and/or transmit the vehicle data to one or more other computing devices. For example, mobile device 216 may transmit vehicle data directly to crash detection server 250, and thus may be used instead of sensors or communication systems of the vehicle 210.

The mobile device 216 may include various sensors 218 capable of detecting and recording conditions at and operational parameters of the vehicle 210 if the mobile device 216 is inside the vehicle. The sensors 218 may be used to sense, for example, the location of the mobile device 216, such as the GPS coordinates (e.g., latitude and longitude). The location of the mobile device 216 may also be determined based on wireless networks the mobile device has connected to, such as Wi-Fi networks, cellular networks, and the like. Images taken by a camera of the mobile device 216 may also be used to determine the location. For example, the mobile device may capture an image before, during, or after the accidents, and the captured image may be compared to images stored in one or more databases (e.g., databases of a search engine). Once a match is found, the location of the mobile device 216 may be determined based on the tagged location of the matching image in the database. In some aspects, location may be detected, for example, at least once per second (e.g., 60 Hz).

The sensors 218 of the mobile device 216, such as a GPS and/or a compass, may sense the speed and/or direction at which the mobile device 216 (and accordingly vehicle 210) is traveling. An accelerometer of the mobile device 216 may sense the acceleration of the mobile device. A gyroscope may be used to determine the orientation of the mobile device. In some aspects, orientation may be detected, for example, at a rate of 90 Hz. The gyroscope may also be used to measure the speed of rotation of the mobile device 216. A magnetometer may be used to measure the strength and direction of the magnetic field relative to the mobile device. The sensors 218 previously described are exemplary, and the mobile device 216 may include any other sensors used for crash detection.

The data collected by the mobile device 216 may be stored and/or analyzed within the mobile device 216. The processing components of the mobile computing device 216 may be used to analyze sensor data, determine that a crash has or has not occurred, and confirm whether or not the crash has occurred. Additionally or alternatively, the mobile device 216 may transmit, via a wired or wireless transmission network, the data to one or more external devices for storage or analysis, such as vehicle computer 214 or crash detection server 250. In other words, mobile computing device 216 may be used in conjunction with, or in place of, the vehicle computer 214 or crash detection server 250 to detect crashes.

The vehicle computer 214 of the vehicle 210 may contain some or all of the hardware/software components as the computing device 101 depicted in FIG. 1. The vehicle computer 214 may receive sensor or crash data from the mobile device 216 and/or from sensors 219 built into the vehicle 210. For example, vehicle computer 214 may receive accelerometer data from the mobile device 216 or an accelerometer in the vehicle 210 and use the accelerometer data to determine whether or not a crash has occurred. Additionally or alternatively, the vehicle computer 214 may act as a gateway device between the mobile device 216 and the crash detection server 250. For example, the vehicle computer 214 may receive sensor data (or data indicating that a crash has occurred) from the mobile device 216 and forward the received data to the crash detection server 250. The vehicle 210 may include a short-range communication system 212, which will be described in further detail below.

The system 200 may include a crash detection server 250, containing some or all of the hardware/software components as the computing device 101 depicted in FIG. 1. The crash detection server 250 may include hardware, software, and network components to receive data from one or more vehicles 210 (e.g., via vehicle computer 214), mobile device 216, and other data sources. The crash detection server 250 may include a driving and driver data database 252 and crash detection computer 251 to respectively store and analyze data received from vehicles, mobile devices, and other data sources. The crash detection server 250 may initiate communication with and/or retrieve data from vehicle 210 wirelessly via vehicle computer 214, mobile device 216, or by way of separate computing systems over one or more computer networks (e.g., the Internet). Additionally, the crash detection server 250 may receive additional data from other non-vehicle or mobile device data sources, such as external databases containing driver information (e.g., the driver's name, license number, home or work address, and the like) and vehicle information (e.g., Vehicle Identification Number (VIN), license plate number, vehicle make and model, and the like).

The crash detection computer 251 may be configured to retrieve data from the database 252, or may receive driving data directly from vehicle 210, mobile device 216, or other data sources. The crash detection computer 251 may perform crash detection analyses and other related functions, as will be described in further detail in the examples below. The analyses described herein may be performed entirely in the crash detection computer 251 of the crash detection server 250, entirely in the vehicle computer 214, or entirely in the mobile device 216. In other examples, certain analyses may be performed by vehicle computer 214, other analyses may be performed by the crash detection computer 251, and yet other analyses may be performed by the mobile device 216.

The system 200 may also include an external location detection device 220, containing some or all of the hardware/software components as the computing device 101 depicted in FIG. 1. The location detection device 220 may be used to determine the location of the mobile device 216 and/or vehicle 210. The location detection device 220 may include one or more location sensors 222, transceivers 224 for transmitting and receiving data, and a location detection computer 226 used to process data and determine the location of the mobile device 216 and/or vehicle 210. In some aspects, the location of the mobile device 216 may be determined using GPS, and the location detection device 220 may comprise one or more GPS satellites. Location may also be determined using one or more Wi-Fi network, and the location detection device 220 may comprise one or more Wi-Fi access points. Location may also be determined using one or more cellular network, and the location detection device 220 may comprise one or more cellular network towers. Location may also be determined using captured images, and the location detection device 220 may comprise an on-road camera.

In some aspects, the location of the mobile device 216 and/or vehicle 210 may be determined using another mobile device and/or vehicle. For example, vehicle 210 may be configured to perform vehicle-to-vehicle (V2V) communications, by establishing connections and transmitting/receiving vehicle data to and from other nearby vehicles using short-range communication system 212.

Short-range communication system 212 is a vehicle-based data transmission system configured to transmit vehicle data to other nearby vehicles, and to receive vehicle data from other nearby vehicles. In some examples, communication system 212 may use the dedicated short-range communications (DSRC) protocols and standards to perform wireless communications between vehicles. In the United States, 75 MHz in the 5.850-5.925 GHz band have been allocated for DSRC systems and applications, and various other DSRC allocations have been defined in other countries and jurisdictions. However, the short-range communication system 212 need not use DSRC, and may be implemented using other short-range wireless protocols in other examples, such as WLAN communication protocols (e.g., IEEE 802.11), Bluetooth (e.g., IEEE 802.15.1), or one or more of the Communication Access for Land Mobiles (CALM) wireless communication protocols and air interfaces.

The V2V transmissions between the short-range communication system 212 and another vehicle's communication system may be sent via DSRC, Bluetooth, satellite, GSM infrared, IEEE 802.11, WiMAX, RFID, and/or any suitable wireless communication media, standards, and protocols. In certain systems, the short-range communication system 212 may include specialized hardware installed in vehicle 210 (e.g., transceivers, antennas, etc.), while in other examples the communication system 212 may be implemented using existing vehicle hardware components (e.g., radio and satellite equipment, navigation computers) or may be implemented by software running on the mobile device 216 of drivers and passengers within the vehicle 210.

The range of V2V communications between vehicle communication systems may depend on the wireless communication standards and protocols used, the transmission/reception hardware (e.g., transceivers, power sources, antennas), and other factors. Short-range V2V communications may range from just a few feet to many miles. V2V communications also may include vehicle-to-infrastructure (V2I) communications, such as transmissions from vehicles to non-vehicle receiving devices, for example, toll booths, rail road crossings, and road-side traffic monitoring devices. Certain V2V communication systems may periodically broadcast data from a vehicle 210 to any other vehicle, or other infrastructure device capable of receiving the communication, within the range of the vehicle's transmission capabilities. For example, a vehicle 210 may periodically broadcast (e.g., every 0.1 second, every 0.5 seconds, every second, every 5 seconds, etc.) certain vehicle data via its short-range communication system 212, regardless of whether or not any other vehicles or reception devices are in range. In other examples, a vehicle communication system 212 may first detect nearby vehicles and receiving devices, and may initialize communication with each by performing a handshaking transaction before beginning to transmit its vehicle data to the other vehicles and/or devices.

The types of vehicle data transmitted by the vehicle 210 may depend on the protocols and standards used for the V2V communication, the range of communications, whether a crash has been detected, and other factors. In certain examples, the vehicle 210 may periodically broadcast corresponding sets of similar vehicle driving data, such as the location (which may include an absolute location in GPS coordinates or other coordinate systems, and/or a relative location with respect to another vehicle or a fixed point), speed, and direction of travel. In certain examples, the nodes in a V2V communication system (e.g., vehicles and other reception devices) may use internal clocks with synchronized time signals, and may send transmission times within V2V communications, so that the receiver may calculate its distance from the transmitting node based on the difference between the transmission time and the reception time. The state or usage of the vehicle's 210 controls and instruments may also be transmitted, for example, whether the vehicle is accelerating, braking, turning, and by how much, and/or which of the vehicle's instruments are currently activated by the driver (e.g., head lights, turn signals, hazard lights, cruise control, 4-wheel drive, traction control, windshield wipers, etc.). Vehicle warnings such as detection by the vehicle's 210 internal systems that the vehicle is skidding, that an impact has occurred, or that the vehicle's airbags have been deployed, also may be transmitted in V2V communications.

The mobile computing device 216 may be used instead of, or in conjunction with, short-range communication system 212. For example, the mobile device 216 may communicate directly with the other vehicle or directly with another mobile device, which may be inside or outside of the other vehicle. Additionally or alternatively, the other vehicle may communicate location information to vehicle 210, and vehicle 210 may in turn communicate this location information to the mobile device 216. Any data collected by any vehicle sensor or mobile device 216 sensor may be transmitted via V2V or other communication to other nearby vehicles, mobile devices, or infrastructure devices receiving V2V communications from communication system 212 or communications directly from mobile device 216. Further, additional vehicle driving data not from the vehicle's sensors (e.g., vehicle make/model/year information, driver information, etc.) may be collected from other data sources, such as a driver's or passenger's mobile device 216, crash detection server 250, and/or another external computer system, and transmitted using V2V communications to nearby vehicles and other transmitting and receiving devices using communication system 212.

Systems and methods described herein may detect vehicle crashes (e.g., accidents) based on the number of high magnitude accelerometer readings within a particular time window. For example, a computing device 101 may receive five samples of accelerometer readings made within a time window. The computing device 101 may determine that a crash has occurred if the magnitude of three or more of the accelerometer readings is greater than a threshold. Otherwise, the computing device 101 may determine that a non-crash event occurred, such as the mobile device 216 being dropped or a hard braking event of the vehicle 210. The previous description is merely exemplary, and additional examples of the crash detection system 200 and method performed by the system are described below.

FIG. 3 is a flow diagram illustrating an example method of initializing a crash detection system according to one or more aspects of the disclosure. As will be described below, various parameters, such as the acceleration magnitude threshold, the time window, and/or the number of acceleration events threshold may be updated in order to improve the accuracy of the crash detection algorithm described herein. The updates may be based on an analysis of crash and non-crash data collected from a plurality of mobile devices and/or from a plurality of vehicles and used to improve the crash detection algorithm (e.g., to yield better results through data analysis). The example of FIG. 3 may be performed by one or more computing devices in a crash detection system 200, such as vehicle computer 214, a crash detection computer 251, a mobile computing device 216, and/or other computer systems.

In step 305, a computing device, such as the crash detection server 250 or mobile device 216, may determine whether to update an acceleration magnitude threshold. The acceleration magnitude threshold may be used alone or in combination with the number of high acceleration events within a time window to determine whether a crash has occurred. As will be described in further detail in the examples below, a computing device may use the acceleration magnitude threshold to distinguish between a crash event (e.g., magnitude of acceleration exceeding the threshold) and a hard braking event (e.g., magnitude of acceleration not exceeding the threshold).

The magnitude and direction of acceleration may be measured by, for example, an accelerometer of the mobile device 216 and/or vehicle 210. The accelerometer may include three different axes (i.e., x-axis, y-axis, and z-axis), and acceleration measurements may be taken for each axis. The magnitude of acceleration for the purposes of crash detection may be determined using any number of methods. For example, the magnitude of acceleration may be determined based on the sum of the absolute values of all three axes of the accelerometer, as illustrated in the following algorithm: |x|+|y|+|z|

The computing device may add an offset to the axis corresponding to the direction of gravity in order to account for the effect of gravity on acceleration measurements. For example, if the direction of gravity corresponds to the z axis, and acceleration is measured using the standard gravity unit of measurement (G or 9.8 m/s²), the following algorithm may be used to determine the magnitude of acceleration for the purposes of crash detection: |x|+|y|+|z+1|

Alternatively, if the orientation of the mobile device 216 is unknown, a high-pass filter may be used to remove the effect of gravity. The magnitude of acceleration may alternatively be determined based on the sum of the squares of all three axes of the accelerometer, as illustrated in the following algorithm: x ² +y ² +z ²

The computing device may add an offset to the axis corresponding to the direction of gravity, such as the z-axis, as illustrated in the following algorithm: x ² +y ²+(z+1)²

In some aspects, the magnitude of acceleration may be determined using the magnitude of a single axis of the accelerometer. If a single axis is used, the computing device may choose the axis to measure based on the orientation of the mobile device 216. For example, the gyroscope and compass of the mobile device 216 may be used to determine the orientation of mobile device, such as by determining the direction of the force of gravity. The orientation of the mobile device may be fixed by a cradle attached to the vehicle 210 (e.g., the windshield or dashboard of the vehicle 210) configured to hold the mobile device. The mobile device 216 and/or vehicle 210 may detect whether the mobile device 216 is in the cradle using, for example, wired connections (e.g., if the mobile device 216 is plugged into the cradle), wireless connections (e.g., near-field communication (NFC), wireless charging, etc.), or presence sensors (e.g., light sensors on the mobile device 216 or cradle, which may be covered when the mobile device 216 is placed in the cradle). If the mobile device 216 is fixed by the cradle, the computing device may select the appropriate axis (or axes) to measure for acceleration, such as the x-axis, the y-axis, the z-axis, or a combination thereof. Each axis may use a different acceleration magnitude threshold for the purposes of determining a crash or non-crash event.

Returning to FIG. 3, in step 310, the computing device may determine a new acceleration magnitude threshold if the computing device determined in step 305 to update the threshold. The threshold may be updated in order to improve the accuracy of the crash detection algorithm, based on an analysis of crash and non-crash data collected from a plurality of mobile devices and/or from a plurality of vehicles. The threshold may also be updated based on the size of the vehicle 210. For example, a heavier vehicle (e.g., having a weight greater than a threshold, such as 4000 lbs.) may use a higher threshold to trigger a detection of a crash because heavier vehicles have more inertia and may experience larger force during a crash. A lighter vehicle (e.g., having a weight less than a threshold, such as 4000 lbs.) may use a lower threshold to trigger a detection of a crash because lighter vehicles have less inertia than heavier vehicles.

Exemplary, non-limiting acceleration magnitude thresholds include 3 G, 4 G, and 8 G. In some aspects, the computing device may use multiple acceleration magnitude thresholds to determine the severity of the crash. For example, the computing device may be configured for three thresholds: 3 G, 8 G, and 60 G. If the magnitude of acceleration is below 3 G, the computing device may determine that a crash did not occur. If the magnitude of acceleration is between 3 G and 8 G, the computing device may determine that a minor crash occurred. If the magnitude of acceleration is between 8 G and 60 G, the computing device may determine that a moderate crash occurred. If the magnitude of acceleration is above 60 G, the computing device may determine that a severe crash occurred. While the above example uses three thresholds, any number of thresholds (and thus levels of severity) may be used.

In some aspects, the threshold selected may depend on the configuration and capabilities of the accelerometer in the mobile device 216 or vehicle 210. For example, if the accelerometer is capable of measuring accelerations of up to +/−16 G, the computing device may select any threshold value(s) less than 16 G.

In step 315, the computing device may determine whether to update a time window. The time window may establish a period of time for which the computing device makes acceleration measurements for the purposes of determining a crash. The time window may be represented as a time value, such as 5 milliseconds. Alternatively, the time window may be represented as a number of acceleration measurements, such as 7 measurements, if the accelerometer makes periodic measurements (e.g., 125 measurements per second or 125 Hz). In the latter example, the time value for the time window may be 5.6 milliseconds (i.e., 7 measurements÷125 measurements/second). 125 Hz is merely exemplary, and other non-limiting examples include 90 Hz and 100 Hz. Other exemplary, non-limiting examples of the number of acceleration measurements include 3, 5, and 10 measurements. As will be described in further detail in the examples below, a computing device may determine whether the number of high magnitude acceleration measurements within the time window exceed a threshold number of acceleration measurements. In step 320, the computing device may determine a new time window if the computing device determined in step 315 to update the window. The time window may be updated in order to improve the accuracy of the crash detection algorithm, based on an analysis of crash and non-crash data collected from a plurality of mobile devices and/or from a plurality of vehicles. The time window may be increased to screen out noise or to observe multiple collisions that occur during a crash.

In step 325, the computing device may determine whether to update a threshold number of acceleration events. In step 330, the computing device may determine a new threshold number of acceleration events if the computing device determines to update the threshold in step 325. The threshold number of acceleration events may be used in combination with the acceleration magnitude threshold and time window previously described to determine whether a crash has occurred. For example, if the number of high magnitude acceleration events during the time window exceeds the threshold number of acceleration events, the computing device may determine that a crash occurred. Otherwise, the computing device may determine that a non-crash event occurred, such as the mobile device being dropped. In some aspects, the time window described above may be chosen to be long enough to distinguish the short duration of a dropped phone's impact with a surface from the longer duration of a vehicle crash. For example, the period of time may be greater than or equal to 5 milliseconds.

As previously described, each of the acceleration magnitude threshold, the time window, and/or the number of acceleration events threshold may be updated according to the steps illustrated in FIG. 3. The updated values may be sent as an update to an application on the mobile device 216 (e.g., in the case of a mobile deployment) or as a firmware update (e.g., in the case of a device deployment).

A brief, non-limiting example of a computing device using the acceleration magnitude threshold, time window, and number of acceleration events threshold will now be described. Assume that the acceleration magnitude threshold is 4 G, time window is 5 measurements (or 4 milliseconds measured periodically at 125 Hz), and the number of acceleration events threshold is 3 measurements. The computing device may receive 5 acceleration measurements from the accelerometer during the time window and determine the magnitude of acceleration for each of the 5 measurements. If the magnitude of acceleration for at least 3 of the measurements exceeds 4 G, the computing device may determine that a crash occurred. Otherwise, the computing device may determine that a non-crash event occurred, such as the phone being dropped or a hard braking event. Additional examples of crash detection will now be provided with reference to FIG. 4.

FIG. 4 is a flow diagram illustrating an example method of detecting a crash according to one or more aspects of the disclosure. The example of FIG. 4 may be performed by one or more computing devices in a crash detection system 200, such as vehicle computer 214, a crash detection computer 251, a mobile computing device 216, and/or other computer systems.

In step 405, a computing device may determine whether a trigger event has occurred. The trigger event may indicate the possibility of a crash, such as a magnitude of acceleration that exceeds an acceleration magnitude threshold. In some aspects, a threshold smaller than the acceleration magnitude threshold may be used to trigger the computing device to initiate detection of a crash. The trigger event may also be based on GPS measurements. For example, the computing device may determine that a trigger event has occurred if the change in speed measured by the GPS system of the mobile device 216 (or vehicle 210) is greater than a certain threshold. The computing device may wait for a trigger event before proceeding to step 410.

In step 410, the computing device may start the time window for taking acceleration measurements. As previously explained, the time window may comprise a time period and/or a number of measurements to take (e.g., if the acceleration measurements are periodically taken, such as every millisecond). The computing device may also initialize the time window to t=0 (the base time). In step 415, the computing device may initialize an acceleration count, which may be used to track the number of high acceleration events detected during the time window. The acceleration count may be initialized to 0 if the event that triggered the start of the time window is not included in the acceleration count, such as if the magnitude of the acceleration event trigger did not exceed the acceleration magnitude threshold or if the event is not otherwise to be counted. On the other hand, the acceleration count may be initialized to 1 if the magnitude of the acceleration event trigger exceeded the acceleration magnitude threshold or if the event is otherwise to be counted.

Instead of waiting for a trigger event (step 405) to trigger the time window (step 410) and to initialize the acceleration count (step 415), the computing device may use a rolling time window. Sensor data, such as acceleration data and/or GPS data, may be periodically made by and stored in, for example, the mobile device 216's memory. When a new sensor reading is made, the computing device may drop the oldest reading in the time window and add the new reading to the window.

In step 420, the computing device may determine whether the time window has ended. For example, if the time window is 5 milliseconds, the computing device may determine that the time window has ended when t=5 ms. If the time window is 5 measurements, the computing device may determine that the time window has ended when 5 measurements have been taken since the beginning of the time window.

If the time window has not ended (step 420: N), in step 425, the computing device may determine whether the magnitude of the acceleration for the currently sampled acceleration exceeds the acceleration magnitude threshold. For example, if the threshold is 4 G and the magnitude of the current acceleration sample is 2.5 G (step 425: N), the computing device may return to step 420 to determine whether the time window has ended and/or to take the next measurement. On the other hand, if the magnitude of the current acceleration sample is 4.6 G (step 425: Y), the computing device may proceed to step 428.

In step 428, the computing device may optionally determine whether the previous acceleration sample (e.g., immediately previous acceleration sample) also exceeded the acceleration magnitude threshold. If the previous sample did not exceed the threshold (step 428: N), the computing device may proceed to step 430 and increment the acceleration count. On the other hand, if the previous sample exceeded the threshold (step 428: Y), the computing device might not increment the acceleration count and instead return to step 420. In other words, the computing device may optionally determine whether a crash has occurred based on the number of non-consecutive acceleration readings above the acceleration magnitude threshold. The computing device might not rely on consecutive acceleration samples. In other words, and as will be described below, the computing device may determine that a crash occurred based on either consecutive acceleration samples or non-consecutive acceleration samples.

In step 435, the computing device may determine whether the acceleration count within the time window has exceeded the number of acceleration events threshold. For example, if the threshold is two high magnitude acceleration events and the acceleration count is two (step 435: N), the computing device may return to step 420 to determine whether the time window has ended and/or to take the next measurement. On the other hand, if the acceleration count is three (step 435: Y), the computing device may proceed to step 445 and determine that a crash has occurred. The computing device may also determine that the mobile device is located within the vehicle involved in the crash. As previously explained, the computing device may determine the severity of the crash based on a plurality of acceleration magnitude thresholds. For example, if one, some, or all of the measured magnitudes exceeds a high threshold, the computing device may determine that a severe crash occurred. If one, some, or all of the magnitudes falls between a medium and high threshold, the computing device may determine that a moderate crash occurred. If one, some, or all of the magnitudes falls between a low and medium threshold, the computing device may determine that a minor crash occurred. If the mobile device 216 or vehicle computer 214 determines that a crash occurred in step 445, the device may generate a message indicating the crash and send the message to, for example, crash detection server 250.

In step 450, the computing device may confirm whether a crash occurred by analyzing additional data. In some aspects, the computing device may confirm the accident based on GPS readings. For example, the computing device may confirm the accident based on the change in speed of the vehicle 210 being greater than a threshold (e.g., indicating a hard stop or deceleration) and the GPS coordinates of the vehicle after the hard stop or deceleration falling within a certain radius of the location of the hard stop or deceleration for a particular length of time (e.g., thirty seconds).

A JavaScript Object Notation (JSON) algorithm may be used for crash determination and confirmation, as previously described. An exemplary JSON structure may be as follows:

-   -   {         -   “gps”:{             -   “deceleration”:0.33,             -   “stop_def_radius”:50,             -   “stop_wait_time:30         -   },         -   “accelerometer”:{             -   “window_length”:7,             -   “breach_threshold”:5,             -   “num_breaches”:3         -   }     -   }

A JSON dictionary may include keys for “gps” and “accelerometer.” The following table illustrates the keys for “accelerometer”:

Key Definition window_length Number of x, y, and z acceleration readings considered (time window) breach_threshold Threshold for determining when the acceleration is considered high. Units may be G = 9.81 m/s² num_breaches Number of acceleration readings within the window for which the magnitude of acceleration exceeds the breach_threshold for a crash

The following table illustrates the keys for “gps”:

Key Definition deceleration Threshold the difference in speed should be below. Units may be G = 9.81 m/s² stop_def_radius Radius a number of GPS readings after the hard deceleration should lie within. Units may be meters stop_wait_time Number of readings after the hard deceleration that should fall within the stop_def_radius. Units may be seconds

The above JSON configuration example may be used to determine and confirm a crash in the following scenario. The GPS trail may show a magnitude of deceleration of 0.33 G followed by the vehicle not moving more than 50 m in 30 s. Within an acceleration window of length 7 (e.g., a time value of 7/90 seconds for 90 Hz sampling) starting at the same time as the above GPS deceleration event, at least 3 of the 7 acceleration magnitude readings exceeds 5 G.

Additionally or alternatively, the computing device may confirm (after detecting) the crash based on the location of the mobile device 216 and/or vehicle 210. For example, if the computing device determines that the mobile device 216 is on a road (or within a predetermined radius from a road), the computing device may confirm the crash. Otherwise, the computing device may determine that a crash did not occur. The location of the mobile device 216 and/or vehicle 210 may be determined using the location detection device 220, as previously described. The computing device may determine the existence of a road by accessing a database of maps, such as GPS or search engine maps. If the crash is not confirmed (step 450: N), the computing device may return to step 405 to determine whether another trigger event has occurred. If the crash is confirmed (step 450: Y), the computing device may proceed to step 455.

In step 455, the computing device may generate and/or store the crash data, such as the number of acceleration events counted, the severity of the crash, and the threshold values. The computing device may also generate and/or store the location of the crash, the time of the crash (including time zone), the identity of the vehicle (e.g., VIN, make/model, license plate number, etc.), the identity of the driver involved in the crash (e.g., name, customer number, driver's license number, etc.), and the identity of the mobile device 216 (e.g., IMEI, MAC address, IP address, etc.). For example, the time may be represented by a timestamp in the following format: YYYY-MM-DD HH:MM:SS -ZZZZ. -ZZZZ may stand for time zone offset from UTC (e.g., -0500 is Eastern Standard Time). In some aspects, the mobile device 216 may send the data to the crash detection server 250, which may store the data in database 252. The mobile device 216 may also send data for a number of seconds before and after the time window (e.g., 5 seconds before and 5 seconds after or 10 seconds before and 10 seconds after) to the crash detection server 250, and the data may be stored in database 252. By providing this data to the crash detection server 250, the server may be able to compare the before, during, and after values to confirm the crash. The crash detection server 250 may also use the stored information to make fast insurance claim determinations (relative to if the driver reports the crash days or weeks later), begin estimating vehicle damage costs faster at the First Notice of Loss (FNOL), and identify the location of accidents.

In step 460, the computing device may notify one or more individuals of the crash, via email, a telephone call, an on-screen pop-up, or any other communication medium. For example, the computing device may contact emergency personnel, such as local fire or police personnel. The message to the emergency personnel may include the location of the crash, the identity of the driver involved in the crash, the license plate number of the vehicle, the severity of the crash, and the like. The computing device may similarly send messages to other individuals, such as the driver's emergency contact identified in his or her profile stored in database 252. The computing device may also attempt to contact the driver or passenger of the vehicle involved in the crash. For example, the computing device may attempt to call the mobile device 216 or an onboard vehicle communication system in the vehicle 210. Additionally or alternatively, the computing device may provide emergency personnel with the phone number of the mobile device 216, which they may use to contact individuals in the vehicle.

Returning to step 420, the computing device may determine that the time window ended (step 420: Y), without the acceleration count exceeding the threshold number of acceleration events needed to determine that a crash occurred. In response, the computing device may determine that a non-crash event occurred, such as the mobile device 216 being dropped or a hard braking event. For example, if the mobile device 216 is dropped, the computing device might only detect one or two high magnitude events (compared to three or four for a crash). Accordingly, in step 440, the computing device may determine whether the number of high magnitude acceleration events falls below a mobile device drop threshold, such as two or three. If so (step 440: Y), the computing device may determine, in step 470, that the mobile device was dropped. The computing device may optionally return to step 405 to detect for additional trigger events and/or crashes. Otherwise, in step 475, the computing device may determine that a hard braking event occurred. The computing device may return to step 405 to detect for additional trigger events and/or crashes.

While the aspects described herein have been discussed with respect to specific examples including various modes of carrying out aspects of the disclosure, those skilled in the art will appreciate that there are numerous variations and permutations of the above described systems and techniques that fall within the spirit and scope of the invention. 

What is claimed is:
 1. A method comprising: identifying, by a mobile computing device, a time window, a first acceleration magnitude threshold, and a number of acceleration events threshold; a second acceleration magnitude threshold greater than the first acceleration magnitude threshold, determining a number of acceleration events measured by an accelerometer of the mobile computing device exceeding the first acceleration magnitude threshold during the time window; responsive to determining that the number of acceleration events measured by the accelerometer of the mobile computing device exceeding the first acceleration magnitude threshold exceeds the number of acceleration events threshold, determining that the mobile computing device is within a vehicle and that the vehicle was involved in a crash; responsive to determining that the mobile computing device is within the vehicle and that the vehicle was involved in the crash, sending, via communication circuitry of the mobile computing device and to a crash detection server, a message comprising information identifying an owner of the mobile computing device, information identifying the mobile computing device, and information identifying a location of the mobile computing device; determining a second number of acceleration events measured by the accelerometer of the mobile computing device exceeding both the first acceleration magnitude threshold and the second acceleration magnitude threshold; and determining a severity of the crash based on the number of acceleration events exceeding the first acceleration magnitude threshold and the second number of acceleration events exceeding both the first acceleration magnitude threshold and the second acceleration magnitude threshold.
 2. The method of claim 1, further comprising: determining the location of the mobile computing device; and confirming that the crash occurred based on the location of the mobile computing device.
 3. The method of claim 1, wherein the time window comprises a time value greater than 5 milliseconds.
 4. The mobile computing device of claim 1, wherein the mobile computing device comprises a mobile phone, the method further comprising: responsive to sending the message to the crash detection server, receiving, via the communication circuitry, a phone call.
 5. A mobile computing device comprising: an accelerometer configured to measure acceleration of at least one axis of the accelerometer; communication circuitry configured to wirelessly communicate with other devices; a processor; and memory storing computer-executable instructions that, when executed by the processor, cause the processor of the mobile computing device to: identify a time window, a first acceleration magnitude threshold, a second acceleration magnitude threshold greater than the first acceleration magnitude threshold, and a number of acceleration events threshold; determine a number of acceleration events measured by the accelerometer of the mobile computing device exceeding the first acceleration magnitude threshold during the time window; responsive to determining that the number of acceleration events measured by the accelerometer of the mobile computing device exceeding the first acceleration magnitude threshold exceeds the number of acceleration events threshold, determine that the mobile computing device is within a vehicle and that the vehicle was involved in a crash; responsive to determining that the mobile computing device is within the vehicle and that the vehicle was involved in the crash, send, via communication circuitry of the mobile computing device and to a crash detection server, a message comprising information identifying an owner of the mobile computing device, information identifying the mobile computing device, and information identifying a location of the mobile computing device; determine a second number of acceleration events measured by the accelerometer of the mobile computing device exceeding both the first acceleration magnitude threshold and the second acceleration magnitude threshold; and determine a severity of the crash based on the number of acceleration events exceeding the first acceleration magnitude threshold and the second number of acceleration events exceeding both the first acceleration magnitude threshold and the second acceleration magnitude threshold.
 6. The mobile computing device of claim 5, wherein the memory stores additional computer-executable instructions that, when executed by the processor, cause the processor of the mobile computing device to: determine the location of the mobile computing device; and confirm that the crash occurred based on the location of the mobile computing device.
 7. The mobile computing device of claim 5, wherein the time window comprises a time value greater than 5 milliseconds.
 8. The mobile computing device of claim 5, wherein the mobile computing device comprises a mobile phone, wherein the memory stores additional computer-executable instructions that, when executed by the processor, cause the processor of the mobile computing device to: responsive to sending the message to the crash detection server, receive, via the communication circuitry, a phone call.
 9. A non-transitory computer readable medium storing instructions that, when read by a mobile computing device, cause the mobile computing device to perform the steps of: identifying a time window, a first acceleration magnitude threshold, a second acceleration magnitude threshold greater than the first acceleration magnitude threshold, and a number of acceleration events threshold; determining a number of acceleration events measured by an accelerometer of the mobile computing device exceeding the first acceleration magnitude threshold during the time window; responsive to determining that the number of acceleration events measured by the accelerometer of the mobile computing device exceeding the first acceleration magnitude threshold exceeds the number of acceleration events threshold, determining that the mobile computing device is within a vehicle and that the vehicle was involved in a crash; responsive to determining that the mobile computing device is within the vehicle and that the vehicle was involved in the crash, sending, via communication circuitry of the mobile computing device and to a crash detection server, a message comprising information identifying an owner of the mobile computing device, information identifying the mobile computing device, and information identifying a location of the mobile computing device; determining a second number of acceleration events measured by the accelerometer of the mobile computing device exceeding both the first acceleration magnitude threshold and the second acceleration magnitude threshold; and determining a severity of the crash based on the number of acceleration events exceeding the first acceleration magnitude threshold and the second number of acceleration events exceeding both the first acceleration magnitude threshold and the second acceleration magnitude threshold.
 10. The non-transitory computer readable medium of claim 9, storing additional instructions that, when read by the mobile computing device, cause the mobile computing device to perform the steps of: determining the location of the mobile computing device; and confirming that the crash occurred based on the location of the mobile computing device.
 11. The non-transitory computer readable medium of claim 9, wherein the time window comprises a time value greater than 5 milliseconds.
 12. The non-transitory computer readable medium of claim 9, wherein the mobile computing device comprises a mobile phone, the non-transitory computer readable medium storing additional instructions that, when read by the mobile computing device, cause the mobile computing device to perform the steps of: responsive to sending the message to the crash detection server, receiving, via the communication circuitry, a phone call. 